////
////  BookCell.swift
////  LiteAccount
////
////  Created by 刘伟 on 2017/5/11.
////  Copyright © 2017年 刘伟. All rights reserved.
////
//
//import UIKit
//
//class BookCell: FoldingCell {
//    
//    override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
//        super.init(style: style, reuseIdentifier: reuseIdentifier)
//        foregroundView = RotatedView()
//        containerView = UIView()
//        self.addSubview(foregroundView)
//        self.addSubview(containerView)
//        self.foregroundView.snp.makeConstraints { (make) in
//            make.top.equalTo(8)
//            make.left.equalTo(8)
//            make.right.equalTo(-8)
//            make.height.equalTo(75)
//        }
//        self.foregroundView.backgroundColor = UIColor.primary
//        self.containerView.backgroundColor = UIColor.danger
//        self.containerView.snp.makeConstraints { (make) in
//            make.top.equalTo(97)
//            make.left.equalTo(8)
//            make.right.equalTo(-8)
//            make.height.equalTo(456)
//        }
//        itemCount = 3
//    }
//    
//    required init?(coder aDecoder: NSCoder) {
//        fatalError("init(coder:) has not been implemented")
//    }
//    
//    override func animationDuration(_ itemIndex:NSInteger, type:AnimationType)-> TimeInterval {
//        
//        let durations = [0.26, 0.2, 0.2]
//        return durations[itemIndex]
//    }
//    
//}
